package cc.linker.steplink.crm.merchant.dao.acs;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface WindowDao {

    void insert(Map<String, Object> param);

    void insertSubs(@Param("servicelist") List<Map> servicelist,@Param("windowId") String windowId);

    void update(Map<String, Object> param);

    void deleteSubs(@Param("windowId") String windowId);

    Map getInfo(@Param("orgId") String orgId);

    List<Map> getSubs(@Param("windowId") String windowId);

    List<Map> getPages(@Param("orgId") String orgId);

    void updateIsOpen(Map<String, Object> param);

}
